package com.rock.goc.data.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rock.common.utils.PageUtils;
import com.rock.common.utils.Query;

import com.rock.goc.data.dao.ProcessInfoDao;
import com.rock.goc.data.entity.ProcessInfoEntity;
import com.rock.goc.data.service.ProcessInfoService;


@Service("processInfoService")
public class ProcessInfoServiceImpl extends ServiceImpl<ProcessInfoDao, ProcessInfoEntity> implements ProcessInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ProcessInfoEntity> page = this.page(
                new Query<ProcessInfoEntity>().getPage(params),
                new QueryWrapper<ProcessInfoEntity>()
        );

        return new PageUtils(page);
    }

}